'''
解包操作
'''

list1 = [10, 20, 300]
print(*list1)


def sum1(*nums):
    s = 0
    for i in nums:
        s += i
    return s


def sub1(*nums):
    s = nums[0]
    for i in nums[1:]:
        s -= i
    return s


# **
dict1 = {'x': 100, 'y': 200}


def func1(**kwargs):
    print(**kwargs)
